using System;
using System.Drawing;
using System.Windows.Forms;

namespace LJ_Writer
{
    public partial class FormMain : Form
    {
        public FormMain()
        {
            InitializeComponent();
        }

        private void FormMain_Load(object sender, EventArgs e)
        {
            foreach (Control c in Controls)
            {
                Font oldFont = c.Font;
                c.Font = new Font(SystemFonts.MessageBoxFont.FontFamily.Name,
                    oldFont.Size, oldFont.Style);
            }
        }

        private void button1_Click(object sender, EventArgs e)
        {
            FormFriendsList formFriendsList = new FormFriendsList();
            formFriendsList.ShowDialog(this);
        }
    }
}